package com.supertange.miniapp.wepet.modules.wepet.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.supertange.miniapp.wepet.common.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="用户对象", description="这是用户对象")
@TableName("users")
public class UsersEntity extends BaseEntity<UsersEntity> implements Serializable {

    @TableId
	@ApiModelProperty(hidden=true)
    private String id;

    /**
     * 微信openId
     */
    @ApiModelProperty(value="openid", name="openid", example="12321312321", required=true)
    private String openid;

    /**
     * 用户名
     */
    @ApiModelProperty(value="用户名", name="username", example="user", required=true)
    private String username;

    /**
     * 密码
     */
    @ApiModelProperty(value="密码", name="password", example="123456", required=true)
    private String password;

    /**
     * 我的头像，如果没有默认给一张
     */
    @ApiModelProperty(hidden=true)
    private String faceImage;

    /**
     * 昵称
     */
    @ApiModelProperty(hidden=true)
    private String nickname;

    /**
     * 性别
     */
    @ApiModelProperty(value = "性别",name = "gender",example = "1")
    private Integer gender;

    /**
     * 生日
     */
    @ApiModelProperty(value = "生日",name = "birthday",example = "2018-09-10")
    private String birthday;

    /**
     * 电话号码
     */
    @ApiModelProperty(value = "电话号码",name = "phone",example = "110")
    private String phone;

    /**
     * 养宠经验
     */
    @ApiModelProperty(value = "养宠经验",name = "growExperience",example = "三年以上")
    private String growExperience;

    /**
     * 所在国家
     */
    @ApiModelProperty(value = "国家",name = "country",example = "中国")
    private String country;

    /**
     * 省份
     */
    @ApiModelProperty(value = "省份",name = "province",example = "四川省")
    private String province;

    /**
     * 所在城市
     */
    @ApiModelProperty(value = "所在城市",name = "city",example = "四川省/绵阳市/涪城区")
    private String city;


    /**
     * 职业
     */
    @ApiModelProperty(value = "职业",name = "occupation",example = "学生")
    private String occupation;

    /**
     * 语言
     */
    @ApiModelProperty(value = "语言",name = "language",example = "中文")
//    @TableField("lang")
    private String language;

    /**
     * 喜欢的宠物
     */
    @ApiModelProperty(value = "喜欢的宠物",name = "likedPet",example = "狗，猫，猪")
    private String likedPet;

    /**
     * 用户简介
     */
    @ApiModelProperty(value = "个人简介",name = "briefInfo",example = "我很帅")
    private String briefInfo;

    /**
     * 标记
     */
    @ApiModelProperty(value = "标记",name = "remark",example = "标记")
    private String remark;

    /**
     * 背景图
     */
    @ApiModelProperty(value = "标记",name = "remark",example = "标记")
    private String backgroundImage;

    /**
     * 我的粉丝数量
     */
    @ApiModelProperty(hidden=true)
    private Integer fansCounts;

    /**
     * 我关注的人总数
     */
    @ApiModelProperty(hidden=true)
    private Integer followCounts;

    /**
     * 我接受到的赞美/收藏 的数量
     */
    @ApiModelProperty(hidden=true)
    private Integer receiveLikeCounts;

    /**
     * 我接受到的赞美/收藏 的数量
     */
    @ApiModelProperty(hidden=true)
    private Integer registerStatus;

    /**
     * 微信unionId
     */
    @ApiModelProperty(hidden=true)
    private String unionId;

}